<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>媒体查询练习</title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<style>
			*{
				margin: 0;
				padding: 0;
			}
			html,body{
				width: 100%;
				height: 100%;
			}
			
			@media screen and (max-width:768px){
				body{
					background: skyblue;
				}
			}
			
			@media screen and (min-width: 769px) and (max-width: 991px) {
				body{
					background: red;
				}
			}
			
			@media screen and (min-width: 992px ) and (max-width: 1199px) {
				body{
					background: black;
				}
			}
			
			@media screen and (min-width: 1200px ) {
				body{
					background: green;
				}
			}
					
		</style>
	</head>
	<body>
	</body>
</html>
